.container {
  width: 300px;
  height: 300px;
  border: 1px solid rgba($color: #000000, $alpha: 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}
.text {
  width: 100%;
  height: 100px;
  background-image: linear-gradient(to top, rgb(243, 112, 112), rgb(131, 131, 233));
}